.class Lcom/estrongs/android/taskmanager/gh;
.super Lcom/estrongs/android/taskmanager/fu;


# instance fields
.field final synthetic b:Lcom/estrongs/android/taskmanager/gg;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/gg;Landroid/content/Context;Ljava/util/List;Z)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/gh;->b:Lcom/estrongs/android/taskmanager/gg;

    invoke-direct {p0, p2, p3, p4}, Lcom/estrongs/android/taskmanager/fu;-><init>(Landroid/content/Context;Ljava/util/List;Z)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/gh;)Lcom/estrongs/android/taskmanager/gg;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/gh;->b:Lcom/estrongs/android/taskmanager/gg;

    return-object v0
.end method


# virtual methods
.method protected a(ILandroid/widget/ImageView;)V
    .locals 2

    if-nez p2, :cond_0

    :goto_0
    return-void

    :cond_0
    const v0, 0x7f02003f

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    invoke-static {}, Lcom/estrongs/android/taskmanager/fx;->c()Ljava/util/List;

    move-result-object v1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/gh;->b:Lcom/estrongs/android/taskmanager/gg;

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/gg;->a(Lcom/estrongs/android/taskmanager/gg;)Lcom/estrongs/android/taskmanager/fx;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/taskmanager/fx;->a(Lcom/estrongs/android/taskmanager/fx;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/taskmanager/fv;

    iget-object v0, v0, Lcom/estrongs/android/taskmanager/fv;->c:Ljava/lang/String;

    invoke-interface {v1, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setEnabled(Z)V

    goto :goto_0

    :cond_1
    const/4 v0, 0x1

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setEnabled(Z)V

    new-instance v0, Lcom/estrongs/android/taskmanager/gi;

    invoke-direct {v0, p0, p1}, Lcom/estrongs/android/taskmanager/gi;-><init>(Lcom/estrongs/android/taskmanager/gh;I)V

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0
.end method
